package com.jic.product.service;

import java.lang.Long;
import java.util.List;

import com.jic.product.entity.CategoryTreeNodeProduct;
import com.jic.common.base.vo.Page;
import com.jic.common.base.vo.PageResult;
import com.jic.product.manage.request.CategoryTreeNodeAddProductRequest;
import com.jic.product.manage.request.CategoryTreeNodeProductRequest;
import com.jic.product.manage.response.CategoryTreeNodeProductResponse;

/**
* 类目聚合商品表
* @author : 
* @email : 
* @since : 2020-01-10 07:03:01
* @version : v1.0.0
*/
public interface CategoryTreeNodeProductService {

    long insert(CategoryTreeNodeAddProductRequest categoryTreeNodeAddProductRequest);

    long delete(Long id);

    CategoryTreeNodeProduct queryByPrimaryKey(Long id);

    List<CategoryTreeNodeProduct> query(CategoryTreeNodeProduct categoryTreeNodeProduct);

    PageResult<CategoryTreeNodeProductResponse> queryPage(CategoryTreeNodeProductRequest categoryTreeNodeProductRequest, Page pageQuery);

}